package com.ruoyi.job.service;

import cn.hutool.json.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.job.domain.BzDataEntity;

import java.time.LocalDateTime;

public interface IBzDataService extends IService<BzDataEntity> {
    JSONArray getDataByIp(String ip);

    BzDataEntity getFirst(LocalDateTime yesterdayStart, LocalDateTime yesterdayEnd, String ip);

    BzDataEntity getEnd(LocalDateTime yesterdayStart, LocalDateTime yesterdayEnd, String ip);
}
